package com.example.yjhteam.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 选手表
 * </p>
 *
 * @author ly
 * @since 2023-07-24
 */
public class Players implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * 选手ID
     */
        @TableId(value = "player_id", type = IdType.AUTO)
      private Long playerId;

      /**
     * 选手姓名
     */
      private String name;

      /**
     * 选手队伍ID
     */
      private Long teamId;

      /**
     * 选手照片
     */
      private String photoUrl;

      /**
     * 选手介绍
     */
      private String resume;

      /**
     * 选手位置
     */
      private String replace;

    
    public Long getPlayerId() {
        return playerId;
    }

      public void setPlayerId(Long playerId) {
          this.playerId = playerId;
      }
    
    public String getName() {
        return name;
    }

      public void setName(String name) {
          this.name = name;
      }
    
    public Long getTeamId() {
        return teamId;
    }

      public void setTeamId(Long teamId) {
          this.teamId = teamId;
      }
    
    public String getPhotoUrl() {
        return photoUrl;
    }

      public void setPhotoUrl(String photoUrl) {
          this.photoUrl = photoUrl;
      }
    
    public String getResume() {
        return resume;
    }

      public void setResume(String resume) {
          this.resume = resume;
      }
    
    public String getReplace() {
        return replace;
    }

      public void setReplace(String replace) {
          this.replace = replace;
      }

    @Override
    public String toString() {
        return "Players{" +
              ", playerId=" + playerId +
                  ", name=" + name +
                  ", teamId=" + teamId +
                  ", photoUrl=" + photoUrl +
                  ", resume=" + resume +
                  ", replace=" + replace +
              "}";
    }
}
